/*
 * $Id$
 *
 * Copyright ( c ) 2014 XuNuo Corporation. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of XuNuo
 * Corporation ("Confidential Information").  You shall not disclose such
 * Confidential Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with XuNuo Corporation or a XuNuo
 * authorized reseller (the "License Agreement"). XuNuo may make changes to the
 * Confidential Information from time to time. Such Confidential Information may
 * contain errors.
 *
 * EXCEPT AS EXPLICITLY SET FORTH IN THE LICENSE AGREEMENT, XuNuo DISCLAIMS ALL
 * WARRANTIES, COVENANTS, REPRESENTATIONS, INDEMNITIES, AND GUARANTEES WITH
 * RESPECT TO SOFTWARE AND DOCUMENTATION, WHETHER EXPRESS OR IMPLIED, WRITTEN OR
 * ORAL, STATUTORY OR OTHERWISE INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A
 * PARTICULAR PURPOSE. XuNuo DOES NOT WARRANT THAT END USER'S USE OF THE
 * SOFTWARE WILL BE UNINTERRUPTED, ERROR FREE OR SECURE.
 *
 * XuNuo SHALL NOT BE LIABLE TO END USER, OR ANY OTHER PERSON, CORPORATION OR
 * ENTITY FOR INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL
 * DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA OR USE, WHETHER IN AN
 * ACTION IN CONTRACT, TORT OR OTHERWISE, EVEN IF XuNuo HAS BEEN ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGES. XuNuo' TOTAL LIABILITY TO END USER SHALL NOT
 * EXCEED THE AMOUNTS PAID FOR THE XuNuo SOFTWARE BY END USER DURING THE PRIOR
 * TWELVE (12) MONTHS FROM THE DATE IN WHICH THE CLAIM AROSE.  BECAUSE SOME
 * STATES OR JURISDICTIONS DO NOT ALLOW LIMITATION OR EXCLUSION OF CONSEQUENTIAL
 * OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO END USER.
 *
 * Copyright version 2.0
 */
package com.th.supcom.pds.domain.pojo;

import java.util.Date;

import net.carefx.framework.translate.Translatable;

/**
 * 医嘱转抄和医嘱计划组合类
 */
public class OrdersScheduleItem implements java.io.Serializable, Translatable
{
    private static final long serialVersionUID = 1L;

    /** 主键. */
    private Long m_orderExecId;

    /** 摆药请领明细主键. */
    private Long m_inpPhamApplyDetailId;

    /** 对应转抄医嘱表主键. */
    private Long m_ordersId;

    /** 患者住院流水号. */
    private Long m_paiVisitId;

    /** . */
    private String m_nurseUnit;

    /** 患者所在病区. */
    private String m_ward;

    /** 患者所在床位. */
    private String m_bedNo;

    /** 项目号. */
    private Integer m_itemNo;

    /** 医嘱计划执行时间. */
    private Date m_scheduleDatetime;

    /** 二维码. */
    private String m_barcode;

    /** 请领执行状态. */
    private String m_dispenseFlag;

    /** 患者一次住院医嘱序号，从1累加. */
    private String m_orderNo;

    /** 标志医嘱中的子医嘱，从1累加. */
    private String m_orderSubNo;

    /** 长期临时标志. */
    private String m_repetition;

    /** 医嘱正文. */
    private String m_orderContent;

    /** 医嘱编码，如药品标准码、检验项目代码等. */
    private String m_orderCode;

    /** 药品一次使用剂量. */
    private Double m_dosage;

    /** 剂量单位. */
    private String m_dosageUnit;

    /** 给药途径及方法. */
    private String m_administration;

    /** 执行时间计划 */
    private String m_performSchedule;

    /** 上次截止时间 */
    private Date m_lastPerformDatetime;

    /**
     * 获取患者一次住院医嘱序号，从1累加属性.
     * 
     */
    public String getOrderNo ()
    {
        return m_orderNo;
    }

    /**
     * 设置患者一次住院医嘱序号，从1累加属性.
     * 
     * @param orderNo.
     */
    public void setOrderNo (String orderNo)
    {
        m_orderNo = orderNo;
    }

    /**
     * 获取标志医嘱中的子医嘱，从1累加属性.
     * 
     */
    public String getOrderSubNo ()
    {
        return m_orderSubNo;
    }

    /**
     * 设置标志医嘱中的子医嘱，从1累加属性.
     * 
     * @param orderSubNo.
     */
    public void setOrderSubNo (String orderSubNo)
    {
        m_orderSubNo = orderSubNo;
    }

    /**
     * 获取长期临时标志属性.
     * 
     */
    public String getRepetition ()
    {
        return m_repetition;
    }

    /**
     * 设置长期临时标志属性.
     * 
     * @param repetition.
     */
    public void setRepetition (String repetition)
    {
        m_repetition = repetition;
    }

    /**
     * 获取医嘱正文属性.
     * 
     */
    public String getOrderContent ()
    {
        return m_orderContent;
    }

    /**
     * 设置医嘱正文属性.
     * 
     * @param orderContent.
     */
    public void setOrderContent (String orderContent)
    {
        m_orderContent = orderContent;
    }

    /**
     * 获取医嘱编码，如药品标准码、检验项目代码等属性.
     * 
     */
    public String getOrderCode ()
    {
        return m_orderCode;
    }

    /**
     * 设置医嘱编码，如药品标准码、检验项目代码等属性.
     * 
     * @param orderCode.
     */
    public void setOrderCode (String orderCode)
    {
        m_orderCode = orderCode;
    }

    /**
     * 获取药品一次使用剂量属性.
     * 
     */
    public Double getDosage ()
    {
        return m_dosage;
    }

    /**
     * 设置药品一次使用剂量属性.
     * 
     * @param dosage.
     */
    public void setDosage (Double dosage)
    {
        m_dosage = dosage;
    }

    /**
     * 获取剂量单位属性.
     * 
     */
    public String getDosageUnit ()
    {
        return m_dosageUnit;
    }

    /**
     * 设置剂量单位属性.
     * 
     * @param dosageUnit.
     */
    public void setDosageUnit (String dosageUnit)
    {
        m_dosageUnit = dosageUnit;
    }

    /**
     * 获取给药途径及方法属性.
     * 
     */
    public String getAdministration ()
    {
        return m_administration;
    }

    /**
     * 设置给药途径及方法属性.
     * 
     * @param administration.
     */
    public void setAdministration (String administration)
    {
        m_administration = administration;
    }

    /**
     * 获取主键属性.
     * 
     */
    public Long getOrderExecId ()
    {
        return m_orderExecId;
    }

    /**
     * 设置主键属性.
     * 
     * @param orderExecId.
     */
    public void setOrderExecId (Long orderExecId)
    {
        m_orderExecId = orderExecId;
    }

    /**
     * 获取摆药请领明细主键属性.
     * 
     */
    public Long getInpPhamApplyDetailId ()
    {
        return m_inpPhamApplyDetailId;
    }

    /**
     * 设置摆药请领明细主键属性.
     * 
     * @param inpPhamApplyDetailId.
     */
    public void setInpPhamApplyDetailId (Long inpPhamApplyDetailId)
    {
        m_inpPhamApplyDetailId = inpPhamApplyDetailId;
    }

    /**
     * 获取对应转抄医嘱表主键属性.
     * 
     */
    public Long getOrdersId ()
    {
        return m_ordersId;
    }

    /**
     * 设置对应转抄医嘱表主键属性.
     * 
     * @param ordersId.
     */
    public void setOrdersId (Long ordersId)
    {
        m_ordersId = ordersId;
    }

    /**
     * 获取患者住院流水号属性.
     * 
     */
    public Long getPaiVisitId ()
    {
        return m_paiVisitId;
    }

    /**
     * 设置患者住院流水号属性.
     * 
     * @param paiVisitId.
     */
    public void setPaiVisitId (Long paiVisitId)
    {
        m_paiVisitId = paiVisitId;
    }

    /**
     * 获取属性.
     * 
     */
    public String getNurseUnit ()
    {
        return m_nurseUnit;
    }

    /**
     * 设置属性.
     * 
     * @param nurseUnit.
     */
    public void setNurseUnit (String nurseUnit)
    {
        m_nurseUnit = nurseUnit;
    }

    /**
     * 获取患者所在病区属性.
     * 
     */
    public String getWard ()
    {
        return m_ward;
    }

    /**
     * 设置患者所在病区属性.
     * 
     * @param ward.
     */
    public void setWard (String ward)
    {
        m_ward = ward;
    }

    /**
     * 获取患者所在床位属性.
     * 
     */
    public String getBedNo ()
    {
        return m_bedNo;
    }

    /**
     * 设置患者所在床位属性.
     * 
     * @param bedNo.
     */
    public void setBedNo (String bedNo)
    {
        m_bedNo = bedNo;
    }

    /**
     * 获取项目号属性.
     * 
     */
    public Integer getItemNo ()
    {
        return m_itemNo;
    }

    /**
     * 设置项目号属性.
     * 
     * @param itemNo.
     */
    public void setItemNo (Integer itemNo)
    {
        m_itemNo = itemNo;
    }

    /**
     * 获取医嘱计划执行时间属性.
     * 
     */
    public Date getScheduleDatetime ()
    {
        if (m_scheduleDatetime == null)
        {
            return null;
        }
        return (Date) m_scheduleDatetime.clone ();
    }

    /**
     * 设置医嘱计划执行时间属性.
     * 
     * @param scheduleDatetime.
     */
    public void setScheduleDatetime (Date scheduleDatetime)
    {
        if (scheduleDatetime == null)
        {
            m_scheduleDatetime = null;
        }
        else
        {
            m_scheduleDatetime = (Date) scheduleDatetime.clone ();
        }
    }

    /**
     * 获取二维码属性.
     * 
     */
    public String getBarcode ()
    {
        return m_barcode;
    }

    /**
     * 设置二维码属性.
     * 
     * @param barcode.
     */
    public void setBarcode (String barcode)
    {
        m_barcode = barcode;
    }

    /**
     * 获取请领执行状态属性.
     * 
     */
    public String getDispenseFlag ()
    {
        return m_dispenseFlag;
    }

    /**
     * 设置请领执行状态属性.
     * 
     * @param dispenseFlag.
     */
    public void setDispenseFlag (String dispenseFlag)
    {
        m_dispenseFlag = dispenseFlag;
    }

    public String getPerformSchedule ()
    {

        return m_performSchedule;
    }

    public void setPerformSchedule (String performSchedule)
    {

        m_performSchedule = performSchedule;
    }

    public Date getLastPerformDatetime ()
    {

        return m_lastPerformDatetime;
    }

    public void setLastPerformDatetime (Date lastPerformDatetime)
    {

        m_lastPerformDatetime = lastPerformDatetime;
    }

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}
